Creating Microsoft Excel datasheets

If you have a large amount of existing test data in a Microsoft Excel file, you can create an external datasheet to use it in data-driven scripts. You can retrieve all data from a worksheet in the file or use a script-generated query to retrieve data during playback.

1. Choose Data > Create Datasheet.

The Create Datasheet wizard opens.

2. Select an external data source option.

Note: Excel must be installed on the test computer to modify linked Excel datasheets.

3. Click Next.

4. Select Microsoft Excel sheet as the Datasheet type.

5. Enter the path to the Excel file or click Browse to select it.

6. Select a Source to use to retrieve data from the file.

7. Select First row contains column headers if the Excel sheet contains column headers. If this option is not selected, the datasheet uses default column names (F1, F2, F3, etc.).

8. Click Next.

9. Specify the datasheet properties.

10. Click Finish to add the datasheet to the workspace.